package com.um2.mauction.session.remote;

import java.util.List;

import javax.ejb.Remote;

import com.um2.mauction.entity.Enchere;
import com.um2.mauction.entity.Utilisateur;
import com.um2.mauction.entity.Vente;

@Remote
public interface EnchereManagerRemote 
{
	public Enchere getEnchere(int idBid);
	public void addEnchere(float amount,Utilisateur bidder,Vente sale);
	public void addEnchere(Enchere e);
	public void updateEnchere(int idBid,float amount,Utilisateur bidder,Vente sale);
	public void deleteEnchere(int idBid);
	public List<Enchere> getAllEncheres();
}